<?php

namespace Emoney\EpayBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * Emoney\EpayBundle\Entity\StorePayment
 *
 * @ORM\Table(name="store_payment")
 * @ORM\Entity(repositoryClass="Emoney\EpayBundle\Repository\StorePaymentRepository")
 */
class StorePayment
{
    /**
     * @var integer $id
     *
     * @ORM\Column(name="id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="AUTO")
     */
    private $id;

    /**
     * @var string $ref
     *
     * @ORM\Column(name="ref", type="string", length=255)
     */
    private $ref;

    /**
     * @ORM\ManyToOne(targetEntity="PayementMode")
     * @ORM\JoinColumn(name="paymtmode_id", referencedColumnName="id")
     */
    
    protected $paymtmode;

    /**
     * @var integer $sitenameId
     *
     * @ORM\Column(name="sitenameId", type="integer")
     */
	 
	 /**
     * @ORM\ManyToOne(targetEntity="Emoney\EpayBundle\Entity\Sitename")
     * @ORM\JoinColumn(name="sitenameId", referencedColumnName="id")
     */
    private $sitenameId;

    /**
     * @var integer $cmdId
     *
     * @ORM\Column(name="cmdId", type="integer")
     */
    private $cmdId;

    /**
     * @var string $phone
     *
     * @ORM\Column(name="phone", type="string", length=20)
     */
    private $phone;
	
    /**
     * @var integer $userID
     *
     * @ORM\Column(name="userID", type="integer")
     */
    private $userID;

    /**
     * @var boolean $status
     *
     * @ORM\Column(name="status", type="boolean")
     */
    private $status;

    /**
     * @var float $montant
     *
     * @ORM\Column(name="montant", type="float")
     */
    private $montant;

    /**
     * @var float $fraisFacture
     *
     * @ORM\Column(name="fraisFacture", type="float")
     */
    private $fraisFacture;

    /**
     * @var integer $montantTotal
     *
     * @ORM\Column(name="montantTotal", type="float")
     */
    private $montantTotal;

    /**
     * @var datetime $datPayment
     *
     * @ORM\Column(name="datPayment", type="datetime")
     */
    private $datPayment;


    /**
     *
     * @var string $currency
     * 
     * @ORM\Column(name="currency", type="string", length=30)
     */
    private $currency;

    /**
     * Get id
     *
     * @return integer 
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * Set sitenameId
     *
     * @param integer $sitenameId
     */
    public function setSitenameId($sitenameId)
    {
        $this->sitenameId = $sitenameId;
    }

    /**
     * Get sitenameId
     *
     * @return integer 
     */
    public function getSitenameId()
    {
        return $this->sitenameId;
    }

    /**
     * Set cmdId
     *
     * @param integer $cmdId
     */
    public function setCmdId($cmdId)
    {
        $this->cmdId = $cmdId;
    }

    /**
     * Get cmdId
     *
     * @return integer 
     */
    public function getCmdId()
    {
        return $this->cmdId;
    }

    /**
     * Set montant
     *
     * @param float $montant
     */
    public function setMontant($montant)
    {
        $this->montant = $montant;
    }

    /**
     * Get montant
     *
     * @return float 
     */
    public function getMontant()
    {
        return $this->montant;
    }

    /**
     * Set fraisFacture
     *
     * @param float $fraisFacture
     */
    public function setFraisFacture($fraisFacture)
    {
        $this->fraisFacture = $fraisFacture;
    }

    /**
     * Get fraisFacture
     *
     * @return float 
     */
    public function getFraisFacture()
    {
        return $this->fraisFacture;
    }

    /**
     * Set montantTotal
     *
     * @param integer $montantTotal
     */
    public function setMontantTotal($montantTotal)
    {
        $this->montantTotal = $montantTotal;
    }

    /**
     * Get montantTotal
     *
     * @return integer 
     */
    public function getMontantTotal()
    {
        return $this->montantTotal;
    }

    /**
     * Set datPayment
     *
     * @param datetime $datPayment
     */
    public function setDatPayment($datPayment)
    {
        $this->datPayment = $datPayment;
    }

    /**
     * Get datPayment
     *
     * @return datetime 
     */
    public function getDatPayment()
    {
        return $this->datPayment;
    }

    /**
     * Set ref
     *
     * @param string $ref
     */
    public function setRef($ref)
    {
        $this->ref = $ref;
    }

    /**
     * Get ref
     *
     * @return string 
     */
    public function getRef()
    {
        return $this->ref;
    }

    /**
     * Set paymtmode
     *
     * @param Emoney\EpayBundle\Entity\PayementMode $paymtmode
     */
    public function setPaymtmode(\Emoney\EpayBundle\Entity\PayementMode $paymtmode)
    {
        $this->paymtmode = $paymtmode;
    }

    /**
     * Get paymtmode
     *
     * @return Emoney\EpayBundle\Entity\PayementMode 
     */
    public function getPaymtmode()
    {
        return $this->paymtmode;
    }

    /**
     * Set phone
     *
     * @param string $phone
     */
    public function setPhone($phone)
    {
        $this->phone = $phone;
    }

    /**
     * Get phone
     *
     * @return string 
     */
    public function getPhone()
    {
        return $this->phone;
    }

    /**
     * Set userID
     *
     * @param integer $userID
     */
    public function setUserID($userID)
    {
        $this->userID = $userID;
    }

    /**
     * Get userID
     *
     * @return integer 
     */
    public function getUserID()
    {
        return $this->userID;
    }

    /**
     * Set status
     *
     * @param boolean $status
     */
    public function setStatus($status)
    {
        $this->status = $status;
    }

    /**
     * Get status
     *
     * @return boolean 
     */
    public function getStatus()
    {
        return $this->status;
    }
    
    /**
     * Set status
     *
     * @param String $currency
     */
    public function setCurrency($currency)
    {
        $this->currency = $currency;
    }

    /**
     * get currency
     *
     * @return String 
     */
    public function getCurrency()
    {
        return $this->currency;
    }
}